package com.jmp.autocofiguration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by chengjiarui on 2019-06-27.
 */
@Data
@ConfigurationProperties(prefix = "oss")
public class OneOssProperties {
    /**
     * 阿里云API的密钥Access Key ID
     */
    private String accessKeyId;
    /**
     * 阿里云API的密钥Access Key Secret
     */
    private String accessKeySecret;
    /**
     * 阿里云API的bucket名称
     */
    private String bucketName;
    /**
     * 阿里云API的内或外网域名
     */
    private String endpoint;

    private String url;
    /**
     * 原域名,前端上传域名替换
     */
    private String urlReplace;
}
